package cn.jiadakeji.parent.service;

import cn.jiadakeji.parent.domain.TermTimeCourse;
import cn.jiadakeji.parent.dto.TermTimeCourseDTO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * @author heyanfeng
 * @create 2022-03-11 15:46
 */
public interface TermTimeCourseService extends IService<TermTimeCourse> {
    List<TermTimeCourseDTO> getTimeCourse(String termCourseId);

    TermTimeCourseDTO getTimeCourseById(String timeId);

    TermTimeCourse getNextCourseTime(LocalDateTime now, String courseId);

    TermTimeCourse getPreCourseTime(String courseId);
}
